﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BusinessLayer.FindArtInfo;
using FindArtInfo.Common;
using FindArtInfo.Models;

namespace FindArtInfo.Controllers
{
    public class ArtistLinkController : MultiBase
    {
        //
        // GET: /ArtistLink/

        public ActionResult Index(int artistsId)
        {
            PageArtistLinkModel model = new PageArtistLinkModel();
            model.Artists = new ArtistsBL().GetById(artistsId);
            model.ListArtistLink = new ArtistLinkBL().GetByArtistId(artistsId);
            return View(model);
        }

    }
}
